<?php 

class Mtextarea  extends sElement {

	public function __construct($name, $label, $value, $more) {
		$this->setName($name);
		$this->setlabel($label);
		$this->setValue($value);
	}

	public function getHTML() {
		$m = array();

		$v = $this->getValue();

		$r = '<textarea name="'.$this->getName().'" '.implode(' ', $m).'>';
		$r .= htmlspecialchars($v, null, Mform::$encoding);
		$r .= '</textarea>';
		return $r;
	}
}

?>